home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 4 / MacMania 4.toast / / Internet software / CacheBGone_II / README
Text File  |  1996-06-05  |  7KB  |  97 lines

  1.                          CacheBGone II
  2.                                       by
  3.                                  John Reynolds
  4.                                                John.S.Reynolds@ASU.Edu
  5.                               http://www.public.asu.edu/~johnr/index.html
  6.  
  7. New update!  Read for detailed information below.....
  8.  
  9. What it does:
  10.  
  11.     This is a simple, small, freeware  applescript written for the express purpose of automatically getting rid of the following items:
  12.  
  13. 1)  Netscape "Cache ƒ" folder,  "Global History"  and "MagicCookie" files.
  14. 2)  Microsoft Explorer "Cache" folder, "History.html" file.
  15. 3)  Eudora "Eudora Log" file.
  16.  
  17. Versions Included: 
  18.  
  19. You can check in the "get info" window  of each individual "CacheBGone II" for which version you are about to use. I have put them in separate folders for those who  have b&w systems. Rebuilding the desktop prior to 7.5.3 may delete the comments included.
  20.  
  21. Blue (CacheBGone II)    -->> deletes all the above items, with user input. 
  22.  
  23. Green (CacheBGone II)  -->> deletes same as above, but leaves the
  24.                       "MagicCookie" file intact. See below for more detailed information.
  25.  
  26. Fast! (•CacheBGone II•)  -->> deletes all the above (including MagicCookie), without user input.
  27.  
  28. Fast! (•CacheBGone II)  -->> deletes all but the MagicCookie without user input.
  29.  
  30. Why CacheBGone II ?
  31.  
  32.  Because I like Netscape/Microsoft Explorer to look new every time they start, and re-load every link in case changes have been made. By getting rid of the "Global History" file I also ensure that the links I used last time do not show up in Netscape or  Explorer as having been already visited.  My Eudora "Eudora Log" file gets to be over 100k on a regular basis, and my hard drive space is very limited.
  33.     The "MagicCookie" file is also deleted; there are many reports about why and how this file could be dangerous to your internet surfing. Please go to the following URL's for more information specific to this issue, and see why you can probably relax:
  34.  
  35. http://search.netscape.com/newsref/std/cookie_spec.html
  36. http://www.illuminatus.com/cookie
  37.     
  38.     This AppleScript is also useful when Netscape or Microsoft Explorer slow to a crawl sifting through a million cache files they have created. Simply run the script, and it deletes the folder and creates a new one in it's place. You can also set (in the browser) the cache size lower, which may slow down operations after the folder reaches its set limit later. Note that if you run  CacheBGone II  while Netscape or Explorer is running, it will give you an error stating that the "Global History" or "History.html" file is still in use and cannot be deleted. No big deal - everything still works fine - although the folders will continue to be used in the trash.
  39.  
  40. What you need:
  41.  
  42.     System 7.5 or later.  It will run faster depending on the machine that you own. You can run it on 7.1, but you will need a scriptable finder, and applescript installed. I do not know exactly where to get these items for 7.1, and will ignore requests for information about them. If you have this information, please forward it to me, and I will include it in any other related releases.
  43.  
  44.  
  45. Important changes to the internet browsers:
  46.  
  47.     Since this applescript has not been updated for some time, some changes in the browsers have taken effect:
  48.  
  49. 1)  I no longer have to re-create the "Cache ƒ" folder for Netscape 2.x and above in order for it not to give an error on startup if the "Cache ƒ" folder is missing. This saves valuable time!
  50. 2)  I am an education user of Netscape, and therefore not registered; deleting the "MagicCookie" file may void the Netscape registration! If anyone has more information on this, I would be grateful. Go here for more information:
  51. http://search.netscape.com/assist/support/client/tn/cross-platform/10026.html
  52.  
  53. Notable Questions:
  54.  
  55. Q:  If I only have one browser, or not Eudora, does it matter?
  56. A:  No - it will search for the items I have listed, and if they don't exist it will ignore the deletion request.
  57.  
  58. Q:  What else does the script look for or delete?
  59. A:  Only the items I listed at the beginning of this file. No others. Be aware that if there is anything already in the trash at the time of launch, it will be deleted.
  60.  
  61. Q:  Don't Netscape and Explorer clean up their cache folders on quit!?
  62. A:  This is not always the case. Experiment for yourself and see what I mean.
  63.  
  64. Q:  But Netscape and Explorer have setting for loading links per session, etc.?
  65. A:  True to an extent. Netscape's "reload" button will always compare the cached document to the network document and show the most recent one. You can set it to check for new links "every time" which will slow you down in the long run. I have been unable to find this feature in Explorer - I am using 2.0.1.
  66.  
  67. Q:  What is the "Fast!" folder for?
  68. A:  It contains two  CacheBGone II  versions that operate without asking you any questions, or giving you a chance to stop the operations after being launched.
  69.  
  70. Q:  OOOPS!  I ran the script and want it to stop before it does anything!
  71. A:  Try command-period, or shift-command-Q to stop the operation.
  72.  
  73. Q:  Can I automate the script, or have it launch at a specific time?
  74. A:  Yes, using a great utility called, "Cron" - a unix port. Make sure to use the "Fast" CacheBGone II  so that it runs without user input. To get more information on Cron and other similar programs, please go:
  75. http://gargravarr.cc.utexas.edu/cron/cron.html
  76. http://gaea.scriptweb.com/pub/applescript/CronTab.sit
  77. http://gaea.scriptweb.com/pub/applescript/addons/Cront1.0d16Distribution.sit
  78.  
  79. Q:  Can I include these AppleScripts on CDROMs, or other media for distribution?
  80. A:  Yes, as long as it is distributed complete, in its original form with this documentation.
  81.  
  82. Q:  Where can I get more scripts, or learn how to create my own, or get answers to my AppleScript questions?
  83. A:  You should have a "AppleScript" folder in your "Apple Extras" folder that was installed in system 7.5 and above. Use the "Script Editor" to create your own.  For more great information on how to get started writing your own scripts, go  to:
  84.  
  85. http://www.scriptweb.com/scriptweb/
  86. http://www.scriptweb.com/scriptweb/gaea/applescript.faq.html
  87.  
  88. Version:
  89.  
  90.     This is my second release of the AppleScript. It is getting increasingly easier to get rid of the cache files/etc. from the programs themselves - and may make this AppleScript  obsolete.   I use the "fast" version in the "startup items" folder or "shutdown items" folder in the System Folder to clean up automatically and quickly.  I pondered the extension idea, but don't want to deal with crashes/conflicts, etc.  As if we all don't have enough conflicts already! I would, however, like to know how to search for files globally on the mac, using either type/creator, or the specific name in applescript, and also how to use subroutines to prevent me from having to re-write the same sections over and over.  If anyone can help me with this, it would be appreciated. I am open to any and all suggestions. Send any bugs, postcards,  or reported errors to: 
  91.  
  92. John.S.Reynolds@ASU.Edu
  93.  
  94. Final Notes:
  95.  
  96.     I am not in any way associated with Netscape, Qualcomm, or Microsoft, etc., etc. Leagalities, lawyer speak, etc.
  97.